﻿using System;

namespace JinianNet.JNCms.Models
{
    /// <summary>
    /// 评论 
    /// </summary>
    public class Comment
    {
        private int _id;
        private int _postid = 0;
        private string _author=string.Empty;
        private string _title = string.Empty;
        private string _mail = string.Empty;
        private string _url = string.Empty;
        private string _content = string.Empty;
        private int _reply = 0;
        private bool _verify = false;
        private int _rows = 0;
        private DateTime _createtime;
        private int _userid = 0;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 关联文章
        /// </summary>
        public int PostID
        {
            set { _postid = value; }
            get { return _postid; }
        }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Mail
        {
            set { _mail = value; }
            get { return _mail; }
        }
        /// <summary>
        /// 网址
        /// </summary>
        public string Url
        {
            set { _url = value; }
            get { return _url; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 回复ID
        /// </summary>
        public int Reply
        {
            set { _reply = value; }
            get { return _reply; }
        }
        /// <summary>
        /// 是否审核
        /// </summary>
        public bool Verify
        {
            set { _verify = value; }
            get { return _verify; }
        }
        /// <summary>
        /// 所在行
        /// </summary>
        public int Rows
        {
            set { _rows = value; }
            get { return _rows; }
        }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }

        /// <summary>
        /// 时间
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
    }
}
